x86/vioapic: expand hvm_vioapic to contain vIO APIC internal state
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 4 Apr 2017 09:32:04 +0000 (11:32 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 4 Apr 2017 09:32:04 +0000 (11:32 +0200)
commita891a308e9b1e71153a929ed55baa990243a7bdb
tree1497d0646500b934740c3e0a953351b7126c9116
parentb32d442abd92cdd4d8f2a2e7794cfee9dba7fe22
x86/vioapic: expand hvm_vioapic to contain vIO APIC internal state

This is required in order to have a variable number of vIO APIC pins, instead
of the current fixed value (48). Note that this patch only expands the fields
of the hvm_vioapic struct, without actually introducing any new fields or
functionality.

The reason to expand the hvm_vioapic structure instead of the hvm_hw_vioapic
one is that the variable number of pins functionality is only going to be used
by the hardware domain, so no modifications are needed to the save format.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/vioapic.c
xen/include/asm-x86/hvm/vioapic.h
xen/include/public/arch-x86/hvm/save.h